// Created by WXX on 2021/9/26 9:04
#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

/**
 * 执行用时：0 ms, 在所有 C++ 提交中击败了100.00%的用户
 * 内存消耗：5.8 MB, 在所有 C++ 提交中击败了72.61%的用户
 */
class Solution {
public:
    int getSum(int a, int b) {
        if (!a) return b;
        int sum = a ^ b, carry = (unsigned int) (a & b) << 1;
        return getSum(carry, sum);
    }
};

int main() {


    return 0;
}
